#!/usr/bin/env escript
main([Host, Port, Nick, Channel]) ->
    dmbot:start(Host, list_to_integer(Port), Nick, Channel);
main(_) ->
    io:format("usage: dmbot host port nick '#channel'~n", []).
